/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package EntityGameObject;

import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.Sprite;

/**
 *
 * @author Khoa
 */
public class Tongue extends Sprite{
    
    private Image TongueImage;
    
    public Tongue(Image image,int displaywidth, int displayheight)
    {
        super(image);
        TongueImage = image;
        setVisible(false);
    }
    public void UpdateInGame(int gameTicks) {
        setVisible(true);             
    }
    
    public void setPosition(int x, int y)
    {
        setRefPixelPosition(x, y);
    }   
    
    public void SetImage(Image image)
    {
        SetImage(image);
    }
}
